added modal and resizeable panels