Thanks Jennifer,
Yes, I got it now. We either need to click on the same feature again or any other Map area to save the action. But as far as Api's 2.0 is concerned this was not the case. Action was saved even if one selects any other tool.
Regards
Rouf