 
       setTimeout ( ->
         feedbin.nativeMessage("performAction", message)
-      ), 1
+      ), timeout
 
   nativeMessage: (name, data) ->
     if typeof(webkit) != "undefined"

    canvas.parentNode.removeChild(canvas)
    "rgba(#{data.data[0]}, #{data.data[1]}, #{data.data[2]}, #{data.data[3]})"

  setNativeTheme: (calculateOverlay = false) ->
    if feedbin.native && feedbin.data && feedbin.data.theme
      message = {
        action: "titleColor"


      $(document).on 'hidden.bs.modal', () ->
        $("body").removeClass("modal-shown")
        feedbin.setNativeTheme(false, 40)

    modalScrollPosition: ->
      $('.modal').on 'scroll', (event) ->
