fixed modal works for all.php and top.php