cosmetics
factor modal window
profile data migration code