add file dialog in view window