Widget: modified the default show() and hide() effects to check for a complete() function provided by the user.  Fixes #9478 - Dialog: UI dialog's show complete() option overridden by default callback function