determine base ui for add event box