change modal to sidebar