add dismissable attribute to directive options