[[ Bug 11278 ]] Dismiss dialog before calling onListPickerDone to prevent premature continuation of script execution