basic dialog setup
Revert "basic dialog setup"

This reverts commit e83c4c9f846a18acce78e79e6bab6b40dde03f4f.
Remake the changes

Remaking as the MS Git seems to have no end of issues
Merge branch 'master' of https://github.com/estnpas/eResourceWeb