destroyable option (close button) and emits added and removed events