set up bootstrap modal events for signature