events table sql
right sided dialog