Open the edit-profile modal from the error alert
Removed stray PHP closer