add ‘duration’ value to notification - dismisses automatically after specified duration