# Mask Closable
Use `mask-closable=false` to make modal not emit the event which may close the modal.
```html
Start Me up
```
```js
export default {
inject: ['message'],
data () {
return {
modalActive: false
}
},
methods: {
cancelCallback () {
this.message.success('Cancel')
this.modalActive = false
},
submitCallback () {
this.message.success('Submit')
this.modalActive = false
}
}
}
```