start work on view library functions
event edit function; events need to have relatd modes too
events need to show related modes