Fix Block custom styles

Assign proper id for when a block alias is used and therefore a new bID
is created.

Fire appropriate events and reset view state after save