Convert exec -> show
Simplify code
Style NULL value
Show dialog after identify and react to deactivated signal
Fix crash if relation is not properly set up
Fix valueChanged signal (needs to emit foreign key value, not fid)
Fix warning (the layout parent is automatically assigned when it's added to mTopLayout)
Set attribute dialog object name
Search containing attribute dialog by object name
Should be fixed in the future by proper methods in the QgsAttributeEditorContext
Save maptool to member variable instead of local