Improved support for dialogs slot