fix reshowing upload elements if user cancels upload