Never mind, i was able to do it like this (in the open() method):
I'm trying to remove certain dates as well as all weekends. However, clicking to the next month, that month isn't treated with this month template. Moreover, clicking back to the original month removes the template application! How does one get this "month" to "stick"?