make dialog load views