some old fixes for dialogs etc.