Making translate a modal window