I created the urcap in which the custom dialog is shown to input quantity of product, and this urcap is being operated for our production.
But when there is the disable button and it is clicked, “mousepressed” eventhandler runs and dialog is closed.
(The apple image is sample. Our company products electric devices. ^^;)