Check if an open form is modal?

Printable View