implemented confirm function in notification js

implemented notification confirm function 
this should fix jira issue #RIPPLE-22