title: Identify whether dialog is modal or non modal in jquery
body: <p>How to identify whether the dialog opened is modal or non modal in jQuery?
  I am working on an application where I need to take action only on modal dialog and not on non modal dialog. </p>