Add sharePanel attribute so that you can manipulate DOM of dialog.