Removed duplicate functions from biblestudy.script.php
Added back removed modal templates from version 7 so they could be used. They may have to be adjusted for use in Joomla 3.x