added JDialog