Add close link and dismiss modal in submit.