added alert dialog when user tries to search pool without choosing source and/or destination