Conditions that hide widget Image Upload Preview not working