fix modal stuff