added custom missions dialog etc code