Moving framework info to a dialog from an activity.