avoid unnecessary actions if no particles were selected