Use `on` instead of `bind`, and then bind this to the `document` once instead of binding every time `createModal` is called.

```js
$(document).on('click', '#fill #close', function() {

});
```

Ditto for the other methods. You can set a class on the origin when `createModal` is called and use that to set the focus with `$('.modalOrigin').focus().removeClass('modalOrigin');`.