for issue #49 modal window