add event modal markup in main.php