Modals: Fix style, use strict statements and distance between functions.