Remove alert dialog from submit