Fix for issue #3 modal.