Adding the funcitonality to translate popup window