Added an error message dialog

Throw an error message when user list or process list
is empty.