private void loadSkill(Skill skill) {
		if (isModified()) {
			int wantSave = JOptionPane.showConfirmDialog(this, "Modifications will be lost. Do you want to save it?");
			if (wantSave == 0) {
				saveSkill();
			}
		}
		hero.setText(skill.getHero());
		name.setText(skill.getName());
		description.setText(skill.getDescription());
		hotkey.setSelectedItem(skill.getHotkey());
		baseRange.setValue(skill.getBaseRange());
		rangeFactor.setValue(skill.getRangeFactor());
		baseCooldown.setValue(skill.getBaseCooldown());
		cooldownFactor.setValue(skill.getCooldownFactor());
		areaOfEffect.setValue(skill.getAreaOfEffect());
		AoEType.setSelectedItem(skill.getAoEType());
		damageTable.setValueAt(skill.getDamageTable().getBaseDamage(), 0, 0);
		damageTable.setValueAt(skill.getDamageTable().getDamageFactor(), 0, 1);
		damageTable.setValueAt(skill.getDamageTable().getType(), 0, 2);
		damageTable.setValueAt(skill.getDamageTable().getMultiplier(), 0, 3);
		actualSkill = skill;
	}