Added YES and NO events to UIEvent, added Yes/No/Cancel popup to IDE, IDE will now ask if you want to save file before closing if there are unsaved changes