small changes to widgets.py on branch photos-button_menu-header
refs #550