Fixes #4239: Fixes popup in Rule page

http://www.rudder-project.org/redmine/issues/4239