Some experiments in creation of custom dialogs