Creates a new JFC (Swing) Dialog. Dialogs are modal or modeless windows that are typically used to prompt users for input.