While he's finding that he had found the treasure and finds the lamp stays on the podium. Alor island on the ground saw dust per lamp him rub clean that makes wake Ginny from the lamps.
During his solution was found with the treasure and found plenty of room on the podium. Aladdin saw dust on the lamp, rub them clean. That alarm Ginny out of the lamp.
While he finds out that he has met with the treasure room and found the lamp is on the altar. Aladdin saw dust on the lamp he was clean. That makes the alarm genie out of the lamp.