I need to add a block to a page. In a block adding dialog I have a select box which I need to fill with data received from ajax prior to saving the block (it cannot be saved