example with a alert of dom