Disaster was averted on Wednesday's flydubai flight FZ1073 from Dubai to Tel Aviv after the wounded captain managed to unlock the cockpit door.