Hi, I’m using a popup for displaying contacts. At the bottom, there is an “edit this contact”-button, which switches from text to inputs etc. At this point - the editing state - I want the user not be able to close this by pressing esc/ outside of the popup. Also, I want the user to be able to close it, when its not in editing state.
So, my question is: Can I control the appearance checkbox with conditions? I have a custom state (is editing) and I would like to use this.
Thanks!