Added functions.php and modal.php