8174161: [TESTBUG] Create test for SwingSet DialogDemoReviewed-by: serb, mrkamContributed-by: Vikrant Agarwal <vikrant.v.agarwal@oracle.com>