Fixed submit to button for dialogs