Fix modals layou does not work