Modal fix

Modals are independent of nested css properties