commit before checkbox directive overhaul