@Override
	public void keyReleased(KeyEvent e) {
		if (open) {
			if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
				open = false;
				currentMessage = "";
			} else if (e.getKeyCode() == KeyEvent.VK_ENTER) {
				open = false;
				if (!currentMessage.equals("")) {
					waitingMessage = currentMessage;
				}
				currentMessage = "";
			}
		}
	}