Close edit-account modal when response received back from the server