@Override
	public void mouseReleased(MouseEvent e) {
		// TODO Auto-generated method stub
		/*Go back to the mainFrame*/
		if(e.getSource() == cancel){
			if(!saveChange){
				int decide = JOptionPane.showConfirmDialog(this, "Do you want to save your Answer?", "Confirm Dialog", JOptionPane.YES_NO_CANCEL_OPTION);
				if(decide == JOptionPane.YES_OPTION){
					this.saveFile();
					this.dispose();
				}
				else if(decide == JOptionPane.NO_OPTION){
					this.dispose();
				}
			}  
			else
				this.dispose();
		}
		
	}