close resume modal on success