Issue #2138211 by joelstein, rerooting: Replace ctools modal behavior with bootstrap modal behavior.