Added Dialogs support