Fixed the modal service to allow injection of the $element.
Updated version numbers