dynamic filter for activities modal view