added menu, asks if dialog should be hidden for scan