added simple confirmation directive