Made the profile edit modal dialog.