#1875: Position dialog near right of screen instead of center
#1875: Add pin button