specifying controller in widget dialog
more setup for dialog mechanism