Added input dialogs (JOptionPane) to the newNetworkButton and newSubnetButton