This is effectively a static method right? Either make it static on ModalView, or at least make it private to the instances and jsdoc tag it as such.