hide edit professor modal when done (on success)