Moved modal layout filter to Application controller