some tests for faculty
made remove dialog reusable