Added a dialog to Submit

added a dialog for submit, changed the widths and locations of dialogs.