Dismiss modal on edit submit