move profile edit to a popup dialog