Added modal notification functionality. Conformed to 2-space indentation style.