UI Corrections for borderless button
a fresh layerdialog on every start
Added and fixed tests