add alert message to window when result is empty.