changed all dialogs to modal