adjust upload dialog size when resizing window or changing device orientation
insert upload into textbox