rem: virtual bool close(bool alsoDelete) { return QFrame::close(alsoDelete); }
add: KPopupFrame::close(int r) { result=r; qApp->exit_loop(); }
context:   virtual bool close(bool alsoDelete) { return QFrame::close(alsoDelete); }