Preparation for popup box