Split dismiss by backdrop and button
tpluscode opened this issue · comments
Related to #11, I would propose to clean up and separate the dismiss functionality.
When not [dismissable]
, the modal should not be closable by the default X button, neither by clicking the backdrop.
I would add a new property, to prevent dismissing with backdrop but allow the modal to close by the default button. Maybe something like [backdrop-static]
to mean that the backdrop is inert?