add confirmation to notification js