Changed fileupload to modal window.