stage in an iframe, architecture of dialogs, better mvc pattern