Adding default for corm attributes and tweaking actionModal