seperate window pops up when clicking on already created events