Fix NullPointerExceptions in RequirementPanel

Prevent clicking cancel on new Requirement, and potentially other issues