Added support for dialogs slot