Toolbar alert fix.

When there is an action in the toolbar, that opens the alert(), it blocks all actions. Now it's possible to pass an 'invokes_alert' parameter, which will force the toolbar handling script do nothing after the final click (no moving, no ajax-waiting). Then the alert can be handled outside.