Fixing "Add rule" modal dialog