Made everything work with dart.widget Modals.