adding semi reusable popup message class