 
 
   reposition: =>
-    return unless @modal?.classList.contains('js-user-verification--active')
+    return unless @isActive()
 
     if osu.isMobile()
       @float(true, @modal)

      modal.style.paddingTop = "#{referenceBottom}px"


  prepareForRequest: (type) =>
    @request?.abort()
    @setMessage osu.trans("user_verification.box.#{type}"), true



  success: =>
    return unless @isActive()

    @$modal().modal 'hide'
    @modal.classList.remove('js-user-verification--active')

