Fixed wording for dialog. made dialog close on submit.