Programming Tips - Why can't I capture mouse movements in a jquery-ui modal dialog?

Date: 2016jul1 Language: javaScript Library: jqueryui Keywords: jQuery UI Q. Why can't I capture mouse movements in a jquery-ui modal dialog? A. It seems that the modal dialog captures the mouse. To disable user clicks outside the dialog, I assume. A solution is to make your dialog non-modal. Its better than nothing.
$('#my_dialog').dialog({ modal: false // ... other options ... });