Added Dialog files
small changes
Initial support for dialogs