Add altertdialog to submit rely