bug fix - prevent help button being continually duplicated when preferences dialog repeatedly opened