Update ctools modals after each space change