Closing sc.say with escape

What is the correct method to close the sc.say message box with the escape key? How can you identify it to set the focus on it?

I have a ListGrid that opens one of these and when I press escape the focus has remained on the ListGrid.

Hi Gary,

This should be automatic (the dismissOnEscape property is true by default on the built-in dialogs). If you’re not seeing this behavior by default, it may mean that focus is being moved away from the dialog right after it’s shown. How are you showing the dialog?