filter richtext

Richtext element take some values from server (for example). I need show only certain values with certain conditions (make filter).
http://webix.com/snippet/22b80fba - list is filtered, but if I open richtext a see all values… Whats wrong ?

You can attach filtering to the onShow event of a richselect popup. The list will be filtered each time the popup is shown.

http://webix.com/snippet/083bf9ed