basic switching via dialog