- updating panels to work in modals