Modal auto-hides on new creation and removal.