Update modal.php

Fixed broken Link for com_categories extensions with a section (e.g. option=com_categories&extension=com_foo.bar)