Better protection aginst double-posting because of multiple DOM events.