Added ajax file upload in modal instead of the upload page. Fallback to regular upload