emit state events from dom events
better navigation templates