       add: 'off-canvas--left'
       remove: 'fade'
 
-  @clearInputs = (clearUrlInput=false) =>
+  @clearSelectedArticle = (clearUrlInput=false) =>
     _setDatePicker(@datePicker, new Date())
     @$('#title').val('')
     @$('#publishTime').val('')

        _article = _.extend article,
          tz: tz
          date: date.utcOffset(UTCOffsets[tz])
        instance.selectedArticle.set(_article)

Template.sourceModal.onCreated ->

        stageModals(instance, instance.modals)

  'input #article': _.debounce (event, instance) ->
      $('#content').val('')
      url = event.target.value.trim()
      if url.length > 20 # Check if the length at url base length
        _checkForPublishDate(url, instance)
  , 200

  'input #content': (event, instance) ->
    $('#article').val('')
    if instance.selectedArticle.get().suggested
      instance.clearSelectedArticle(true)
      removeSuggestedProperties(instance, 'all')

  'click #suggested-articles li': (event, instance) ->
    instance.clearSelectedArticle()
    instance.articleOrigin.set('url')
    _checkForPublishDate(@url, instance)

