check if 'dialog' package is installed