Revert "Extends functionality of JHtmlBootstrap::modal() and JHtmlBootstrap::renderModal"

This reverts commit 8eb2da555ffdfb5f5642350935aa668eefb44805.