updated modal stuff