remove file model from files collection if user clicks cancel or clear button