[Issue #209] fix modal bindings