[Core] Refactors Alert view helper. Adds ability to add options.
Fixes: Incomplete message is shown on application preview even if application is valid.