FIx modal popup for new tasks