Added two options: undocked_callback and redocked_callback.
Added example html for new callback options.