upload modal for debugging