Adding modal notification controller method to register flow base