The dragon cannot see you if you have the invisibility buff, provided you are wearing no armour and do nothing aggressive. As soon as you do anything that harms the dragon, including hitting the crystals, it will track you, and you will not last long without armour.