Skip to content

Verify Closing of Modal #180

@sgsweb

Description

@sgsweb

When the user closes the modal using escape key, clicking outside the modal, or clicking the X, I like to popup another modal to ask them if they are sure. Similar to a confirm javascript api. The problem is that there is no way to prevent a closing using the beforeClose callback. That is, I cannot send back a false from the beforeClose callback to prevent the closing of the modal. What is the best method for doing this?

sgs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions