Changed new device to a modal window