first work on support for sub-dialogs/views