improving certifcate uploader in modal