use the bootstrap modal functions

The bootstrap modal functions take care of some functions for you, like adding and removing the body class and placing/removing the backdrop div. It also enables the fade/slide effects.
Merge pull request #3 from dvdheiden/patch-3

use the bootstrap modal functions
Thanks to @dvdheiden