Got angularJS playing nicely with the dialogs