Remove modal on success