hide preview button during upload