Fixes to dialogs to disable "ok" buttons while working