some work on making the profile image dialog more functional