Added signal connections for Python and message boxes

Refs #9968