Refactor "Select moderator" dialog. Move it into a block.