Bug Report
Steps to reproduce
- open https://dev.atk4.org/demos/_unit-test/late-output-error.php
- click first button (
Test LateOutputError I: Headers already sent)
- notice the modal is NOT vertically centered
The demo closes another modal right before the final modal is shown, but when I put $(this).modal('refresh'); at https://github.com/atk4/ui/blob/5.0.0/js/src/services/modal.service.js#L44 line the problem is gone, so it seems the "show" does not explicitly refresh the modal at all.
Expected result
.modal('show') must always refresh/recenter the modal
Screenshot (if possible)

Version
2.9.3