vertically center variable modal on show details