Provide default settings when none exist

For modals that are generated after foundation is initialized, it is
possible that their init settings do not exist. In this case, the
default settings should be used.