@Test
public void testIsHidden() throws Exception {

  Thread thrd = new Thread( () -> dialog.show() );
  thrd.start();
  while ( dialog.isHidden() ) {
    Thread.sleep( 300 );
  }
  dialog.hide();
  System.out.println( "dialog.isHidden()" );
  assertTrue( dialog.isHidden() );
}