fixed #33 - add alert when no nodes selected