resource controller now takes id
remove console log
styling resource when not a modal