Emma's total bill for dinner was $20. The cost of her dessert was 30% of the total bill. What was the cost of her dessert?