modal when editing + when inserting a new pp only in sidebar