remove modal on success