Reactive Modal Window Bug fix