Fixing Search widget disappearing on project closure.