fixes #1023 ajax fileupload - on failed form validation images incorrectly removed;