Check if tech is null in show_tech_gained_dialog.