     $("[data-value=" + Setting.get("language") + "]").addClass "selected"
 
   show: =>
-    @el.show(0).addClass "show"
+    @el.modal()
 
   save: =>
     Setting.set "username", @username.val()

    "change input": "save"
    "change select": "save"
    "click .clear-data": "clearData"
    "click": "close"
    "click .tabs li": "tabSwitch"
    "click .night-mode": "toggleNight"
    "click .language a": "changeLanguage"

    Setting.set "dateFormat", @dateFormat.val()
    Setting.set "confirmDelete",  @confirmDelete.prop "checked"
    Setting.set "night",  @nightMode.prop "checked"

  tabSwitch: (e) =>
    @el.find(".current").removeClass "current"
