LPS-49735 remove closeRedirect code that is not used anymore