move toast and dialog to parts