```javascript
function InputModal (input) {
    this._input = input;
    Modal.apply(this, arguments);
}

InputModal.prototype.events = Modal.prototype.events.extended({
    'inputDone.hub': function () {
        this.hide();
    }
})
```