```javascript
var editor = new Input();
// InputModal closes the modal wants an input is done submitting
var editorModal = new InputModal(editor);
var launchEditorModalCmd = new LaunchModalCommand(editorModal);
var authThenEditorModal = new AuthRequiredCommand(launchEditorModalCmd);
```