fix modal dialogs maybe