changed order of dialog initialization

dlgFrameList will be now be created before dlgPreview, which should now
prevent scrollbars on initial page render