Refactor cancel  directive
Added model to reset to cancel directive
Refactor - changed temp variable name hold for item selection