refactor event slot editing (WIP)