What is `modifiedfee` in mempool dump, how is it related to actual fee?
It is related to the prioritisetransaction RPC, which changes what fee a transaction has for the purpose of inclusion in blocks.

If you never use prioritisetransaction, the modified fee will always be equal to the real fee.