Fix: Reset onHide method in show method of modalOverlay module if it is
not set.
Coding style: removed trailing white spaces.