LAC-34. Added different dialog rendering for File and key