Fixed model not showing on load and added toast